<div id='corps'>
	<?php
		//Lecture des entrée dans la BDD
		//Connexion à la BDD
		mysql_connect("localhost", "shop", "bb38f22jmtJQQZGG");
		mysql_select_db("vanadium");mysql_query("SET NAMES 'UTF8'");
		
		//Lecture de la limite de negat's
		$retour_limite_negats = mysql_query("SELECT valeur FROM parametres WHERE parametre='limite_negats'") or die(mysql_error());
		$limite_negats = mysql_fetch_array($retour_limite_negats);
		
		//Fermeture de la connexion
		mysql_close();

	?>
	<table id='table_admin'>
		<tr>
			<td>
				<a href='./modules/formulaire_ajout_compte.php' class='colorbox' title='Formulaire dajout compte Utilisateur'>
					<input type='button' value='Ajout Compte Utilisateur'>
				</a>
			</td>
			<td id="limite_negats">
				<div class="boite_info">
					<div class="boite_info_haut">
						<div></div>
					</div>
					<div class="boite_info_contenu">
						
						<h2><img src="../ressources/icones/information.png"/> Limite Negat's</h2>
						<p>
							<?php if($limite_negats['valeur']<0){echo "<span class='negats'>".$limite_negats['valeur']." € </span>";} else {echo "<span class='negats'>".$limite_negats['valeur']." € </span>";} ?>
							<br/>
						<a href='./modules/modif_negats.php' class='colorbox' title='Changement de la limite de negats'>
							Modifier
						</a>
						</p>
					</div>
					<div class="boite_info_bas">
						<div></div>
					</div>
				</div>
			</td>
		</tr>

	</table>
	<div id='lien_modif_mdp'>
		<a href='../commun_shop/modules/formulaire_changement_mdp.php' class='colorbox' title='Formulaire Changement Mot de Passe'><img src="../ressources/icones/key.png"/></a>
	</div>
</div>